package com.study.book.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 帖子表
 * @TableName Forum
 */
@TableName(value ="Forum")
@Data
public class Forum implements Serializable {
    /**
     * 主键id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 帖子标题
     */
    private String forum;

    /**
     * 帖子内容
     */
    private String description;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}